﻿@model PracticeAzure.Website.Models.CorrigendumDetailsViewModel

@{
    ViewBag.Title = "删除勘误";
}

<h2>@Model.Corrigendum.Title？</h2>

<div style="text-align: center;">
    @using (Html.BeginForm())
    { 
        @Html.Hidden("id", Model.Corrigendum.ID)
        <input type="submit" value="删除" /> @Html.ActionLink("返回", "Index")
    }
</div>

<table style="width: 100%;">
    @{
        var tuple = new Tuple<PracticeAzure.Website.Data.Corrigendum, IEnumerable<PracticeAzure.Website.Data.CorrigendumAttachment>>(Model.Corrigendum, Model.Attachments);
    }
    @Html.DisplayFor(model => tuple, "Corrigendum")
</table>